package com.woniu.smart.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：合同
 * @description：TODO
 * @date ：2022/10/22 18:01
 */
@Data
public class ContractDTO {

    private Integer enterpriseId;    //企业id

    private String enterpriseName;    //企业名称


    private Integer contractId;  //合同id

    private String contractNum;  //合同编号

    private String contractAtt;  //合同属性（类别）

    private String contractState;  //合同状态

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractRenewal;  //续签时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractExpire;  //到期时间

    private String contractCollection;  //收款凭证

    private String contractCont;  //	合同凭证

    private String contractPhone;  //企业负责人电话


    private String contractBy1;  //合同备用1  负责人姓名

    private Integer staffsId;  //员工id/负责人

    private Integer informationId;  //账单id

    private Integer informationType;//账单类型

    private String informationVoucher;   //缴费凭证

    private Integer roomId;  //房间id
    private String roomName;  //房间名称
    private String buildingName;  //楼宇名称


    private String contractBy2;  //合同备用2

    private String contractBy3;  //合同备用3

    private Integer currentPage;//当前页数
    private Integer pageSize;//每页条数
}
